[NTG-context] Re: old style factorial symbol and theorems

2023-12-30 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 30.12.2023 um 09:40: I tried this for old style factorial, but it appears much below the line in which it is used. How can I bring it up? Replace the \inmframed command with \mcframed. \define[1]\oldfact   {\mcframed[frame=off,strut=no,leftframe=on,bottomframe

[NTG-context] Re: old style factorial symbol and theorems

2023-12-30 Thread Shiv Shankar Dayal
>> \define[1]\oldfact >> {\inmframed[frame=off,strut=no,leftframe=on,bottomframe=on]{#1}} >> >> \starttext >> >> \m{\oldfact{n}} >> >> \stoptext >> >> Wolfgang >> >> Thanks a lot. It s

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Mikael Sundqvist
f \framed. >> >> \define[1]\oldfact >> {\inmframed[frame=off,strut=no,leftframe=on,bottomframe=on]{#1}} >> >> \starttext >> >> \m{\oldfact{n}} >> >> \stoptext >> >> Wolfgang >&g

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Shiv Shankar Dayal
A simple alternative to tikz is the usage of \framed. > > \define[1]\oldfact > {\inmframed[frame=off,strut=no,leftframe=on,bottomframe=on]{#1}} > > \starttext > > \m{\oldfact{n}} > > \stoptext > > Wolfgang > > Thanks a lot. It should work n

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 27.12.2023 um 13:31: What do you expect here to pass as argument to the oldfact command? I will pass something like n, 5, 10 etc. A simple alternative to tikz is the usage of \framed. \define[1]\oldfact   {\inmframed[frame=off,strut=no,leftframe

Re: [NTG-context] Framed mathematics

2018-12-07 Thread Wolfgang Schuster
? \inmframed{...} Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma

Re: [NTG-context] \mframed not aligned in mkiv

2013-10-22 Thread Otared Kavian
-example.tex Search for Alignment in inmframed in the mailing list archives. % The next statement is part of the core. Included it here for % illustration. \definemathframed[mcframed] [location=mathematics] \starttext \startformula \ln (1+x) = \mcframed[background=color

Re: [NTG-context] \mframed not aligned in mkiv

2013-10-21 Thread Aditya Mahajan
, backgroundoffset=2pt ]} \starttext Since for $|x| 1$ we have \startformula \log(1+x) = \graymath{x- \displaystyle{x^2\over2}} + {x^3 \over 3} + \cdots \stopformula we may write $\log(1+x) = x + O(x^2)$. \stoptext end mframed-example.tex Search for Alignment in inmframed in the mailing list

Re: [NTG-context] \mframed not aligned in mkiv

2013-10-21 Thread Otared Kavian
} + \cdots \stopformula we may write $\log(1+x) = x + O(x^2)$. \stoptext end mframed-example.tex Search for Alignment in inmframed in the mailing list archives. % The next statement is part of the core. Included it here for % illustration. \definemathframed[mcframed] [location

Re: [NTG-context] Alignment of inmframed

2013-06-15 Thread Aditya Mahajan
On Sat, 15 Jun 2013, Hans Hagen wrote: On 6/14/2013 9:06 PM, Aditya Mahajan wrote: \inmframed (and by extension \definemathframed[...][location=low,...]) does not get the right vertical space. For example, \starttext \startformula \ln (1+x) = \inmframed{x - {\frac {x^2}{2}}} + \frac{x^3}{3

[NTG-context] Alignment of inmframed

2013-06-14 Thread Aditya Mahajan
\inmframed (and by extension \definemathframed[...][location=low,...]) does not get the right vertical space. For example, \starttext \startformula \ln (1+x) = \inmframed{x - {\frac {x^2}{2}}} + \frac{x^3}{3}-\cdots. \stopformula \stoptext Note that the two fractions do not align

Re: [NTG-context] Alignment of inmframed

2013-06-14 Thread Hans Hagen
On 6/14/2013 9:06 PM, Aditya Mahajan wrote: \inmframed (and by extension \definemathframed[...][location=low,...]) does not get the right vertical space. For example, \starttext \startformula \ln (1+x) = \inmframed{x - {\frac {x^2}{2}}} + \frac{x^3}{3}-\cdots. \stopformula \stoptext Note

Re: [NTG-context] overscored or overlined text … (or whatever it should be called)

2012-01-26 Thread Hans Hagen
On 25-1-2012 21:17, Aditya Mahajan wrote: @Hans: Can we have \definemframed etc as well? sure, the next beta will have ... \starttext \dontleavehmode test \mframed{x} test $x^{\mframed{x}}$ test \inmframed{x} test $x^{\inmframed{x}}$ test \definemathframed[whatever][location=low

Re: [NTG-context] mframed, setupinteractions

2009-05-11 Thread Hans Hagen
\framed or \inframed (currently) and there is some logic in it \mframed \inmframed \starttext \startformula \mframed[offset=3pt,background=color,backgroundcolor=red]{A = B + \inmframed[frame=off,background=color,backgroundcolor=gray]{C}} \stopformula \stoptext